package com.pan.dao;

import com.pan.entity.Stock;
import org.apache.ibatis.annotations.Mapper;

import java.sql.Timestamp;
import java.util.List;

@Mapper
public interface StockSelectDao{
    Stock selectById(Long id);
    List<Stock> selectByGoodsId(Long goodsId);
    Stock selectByGoodsCount(Long goodsCount);
    Stock selectByInsertTime(Timestamp insertTime);
    Stock selectByExpirationTime(Timestamp expirationTime);
    List<Stock> selectByDepositoryId(Integer depositoryId);
    List<Stock> selectByStockStatus(Integer stockStatus);
}